---
id: create-a-new-tag
title: "Create a new tag"
description: "Create a new tag"
sidebar_label: "Create a new tag"
hide_title: true
hide_table_of_contents: true
api: eJytVE1v2zAM/SsGz1rc7OhbNmxAtwEr1gw7BDkwNhOrsSVVotsGhv77QMlr3DbbaRfbkfjxHt9jRmgo1F471tZABR89IVOBhaHHgvEAChgPAaoNrOW9VRCoHrzmE1SbEXaEnvxq4BaqzTZuFXi6HyjwB9ucoBpflV+3VDTIWLAt6tyKW5JGxaPmdgEKamuYDEsuOtfpGiW3vAtSYIRQt9SjfPHJEVRgd3dUMyhw3jryrCnIrcGeZlGBvTbCptfmG5mD4F3GmOFqT40wTDnbGPN5cNaEXOz91fIyl8yhmSb1n6Dr5i3wqP7C6DUH3YCaEYkKeuLWNlCBsyE1QyEPZdJV5PQP5ENSc/AdVDBi03gKIZbodPmwBAUP6DXuuoxvus4T2ePQMVTQMrtQlSX70+KIHo9EboHOgbowtqlCYfdJ/q9TfJGxQIxx5rNbGVvuPHfb8yCks/BIYVBNQaCmj8/W9ygIv/xap2mJHD/OJv30hL3r6OyZ2ci12Vu5kAFl9MvF1eJKlkKz5MAz9NXN9UWqq5vrYm/9S54yl6iSID2aWesL6/ei5Hj22MVVzRNheuLSdaiNdEmijpPsm7zOWwWtuKHawDjuMNBP38Uox/cDeVnt7Vn0tNkKWsKGfPLJkU4CIEN5t5auEt4N0v2N9aP6k7Gqa3L8z9jtzLA332/XouP0V9LbRnI8PoJKzwpAgU2jSfZIZyN0aA4DHiQ21xTV8aVpXpkksZqu0JxmCMcxR6ztkUyMoCYqLL8hypL9Bg6ty64=
sidebar_class_name: "post api-method"
info_path: API/karakeep-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Create a new tag"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/tags"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Create a new tag

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={undefined}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"description":"The data to create the tag with.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"]}}}}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"201":{"description":"The created tag","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}}}}
>
  
</StatusCodes>


      